import AdminLayout from '@/views/layouts/AdminLayout.vue'

export default [
    {
        path: '/admin',
        component: AdminLayout,
        children: [
            {
                path: 'dashboard',
                name: 'admin-dashboard',
                component: () => import('@/views/admin/Dashboard.vue')
            },
            {
                path: 'consultants',
                name: 'consultant-management',
                component: () => import('@/views/admin/ConsultantManagement.vue')
            },
            {
                path: 'users',
                name: 'user-management',
                component: () => import('@/views/admin/UserManagement.vue')
            },
            {
                    path: 'announcement',
                name: 'announcement-management',
                component: () => import('@/views/admin/AnnouncementManagement.vue')
            },
            {
                    path: 'company',
                name: 'company-management',
                component: () => import('@/views/admin/CompanyManagement.vue')
            },
            {
                    path: 'courseclassifys',
                name: 'courseclassify',
                component: () => import('@/views/admin/CourseClassify.vue')
            },
            {
                path: 'courses',
                name: 'course-management',
                component: () => import('@/views/admin/CoursesManegement.vue')
            },
            {
                 path: 'courseevaluation',
                name: 'coueseevaluation',
                component: () => import('@/views/admin/CourseEvaluation.vue')
            },
            {
                    path: 'liked',
                name: 'liked',
                component: () => import('@/views/admin/ConsultantsLiked.vue')
            },
            {
                    path: 'article',
                name: 'article',
                component: () => import('@/views/admin/Article.vue')
            },
            {
                    path: "psychologicalknowledgemanagement",
                    name: "psychologicalknowledgemanagement",
                    component: () => import('@/views/admin/PsychologicalKnowledgeManagement.vue')
            },
            {
                    path: "commonweal",
                    name: "commonweal",
                    component: () => import('@/views/admin/Commonweal.vue')
            },
            {
                    path: "fmmanagement",
                    name: "FMManagement",
                    component: () => import('@/views/admin/FMManegement.vue')
            },
            {
                    path: "my",
                    name: "My",
                    component: () => import('@/views/admin/My.vue')
            },
            {
                    path: "pay",
                    name: "pay",
                    component: () => import('@/views/admin/Pay.vue')
            }
        ]
    }
]
